package com.lz.zookeeper;

/**
 * 服务注册内容
 * @author likejian
 *
 */
public class ZookeeperRegContent {

	/**注册Ip、端口**/
	private String ip_port;
	/**进程ID**/
	private String pid;
	/**注册时间**/
	private String reg_time;
	/**注册值 ,json格式**/
	private String regValue;
	
	public String getIp_port() {
		return ip_port;
	}
	public void setIp_port(String ip_port) {
		this.ip_port = ip_port;
	}
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getReg_time() {
		return reg_time;
	}
	public void setReg_time(String reg_time) {
		this.reg_time = reg_time;
	}
	public ZookeeperRegContent(String ip_port, String pid, String reg_time) {
		super();
		this.ip_port = ip_port;
		this.pid = pid;
		this.reg_time = reg_time;
	}
	@Override
	public String toString() {
		return "ZookeeperRegContent [ip_port=" + ip_port + ", pid=" + pid
				+ ", reg_time=" + reg_time + ", regValue=" + regValue + "]";
	}
	public String getRegValue() {
		return regValue;
	}
	public void setRegValue(String regValue) {
		this.regValue = regValue;
	}
}

